Template.explore.helpers({
  isSearch: function() {
    const pageName = Router.current().params.name;
    if (pageName == 'search') {
      return true;
    } else {
      return false;
    }
  },
  isSearchChannel: function() {
    const param = Router.current().params.query.channel;
    if (param) {
      return true;
    } else {
      return false;
    }
  },
  isSearchUser: function() {
    const param = Router.current().params.query.user;
    if (param) {
      return true;
    } else {
      return false;
    }
  }
});